#include<bits/stdc++.h>
#define ll long long
using namespace std;
int rd()
{
	int x=0,f=1;
	char c=getchar();
	while(!isdigit(c))
	{
		if(c=='-')
			f=-1;
		c=getchar();
	}
	while(isdigit(c))
	{
		x=x*10+c-48;
		c=getchar();
	}
	return x*f;
}
const int N=1e5+10;
int n;
int r[N];
int main()
{
	freopen("duel.in","r",stdin);
	freopen("duel.out","w",stdout);
	n=rd();
	for(int i=1;i<=n;i++)
		r[i]=rd();
	sort(r+1,r+n+1);
	r[0]=0;
	int cnt=0,ans=1;
	for(int i=1;i<=n;i++)
	{
		if(r[i]==r[i-1])
		{
			cnt++;
			ans=max(ans,cnt);
		}
		else
			cnt=1;
	}
	cout<<ans<<endl;
}
